package name.bingo.RedPacketTest;/**
 * create by yanbing on 2019/3/22 16:05
 */

import name.bingo.utils.HttpUtil;

import java.net.SocketTimeoutException;

/**
 *
 * @param:
 * @return:
 * @author : yanbing
 * @date: 2019/3/22
 **/
public class GrapRedPacketThread extends Thread{
    private String data;
    public GrapRedPacketThread(String data){
        this.data=data;
    }
    @Override
    public void run() {
        String doGet = HttpUtil.doGet(data);
        System.out.println(doGet);
    }
}
